package com.eii.idm.service;

import com.eii.common.web.page.PageResult;
import com.eii.common.web.domain.Result;
import com.eii.db.service.ISuperService;
import com.eii.idm.model.Client;

import java.util.Map;


public interface IClientService extends ISuperService<Client> {

    Result saveClient(Client clientDto) throws Exception;

    /**
     * 查询应用列表
     * @param params
     * @param isPage 是否分页
     */
    PageResult<Client> listClient(Map<String, Object> params, boolean isPage);

    void delClient(long id);

    Client loadClientByClientId(String clientId);
}
